package com.baomidou.mybatisplus.samples.quickstart.controller;

import com.baomidou.mybatisplus.samples.quickstart.service.ChanelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ChanelController {
    @Autowired
    ChanelService chanelService;

    @GetMapping("/chanel/chanelUrl")
    public String getUserUrl(){
        return chanelService.getChanelUrl();
    }
}
